﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Activities;
using Microhard.NotificationTypes.Interfaces;
using Microhard.Core;
using Microhard.NotificationTypes.Models;
using System.Configuration;
using Microhard.Core.DBUtility;
using System.ComponentModel;
using Microhard.CustomActivities.Design;
using System.Activities.Presentation.PropertyEditing;
using Microhard.CustomActivities.Sys;


namespace Microhard.CustomActivities.Activities
{
    public abstract class MicrohardActivity : NativeActivity
    {
        #region 工作流属性
        public OutArgument<bool> Result { get; set; }
        public Guid ID { set; get; }
        public string NodeName { set; get; }
        public Guid DepID { set; get; }
        public string DepName { set; get; }
        public Guid ApproverID { set; get; }
        public string ApproverName { set; get; }
        public bool ApproverAsDepLeader { set; get; }
        /// <summary>
        /// 表示流程可以Idel
        /// </summary>
        protected override bool CanInduceIdle
        {
            get
            {
                return true;
            }
        }
        #endregion

    }
}
